package pojo;

import java.util.Date;

public class Product {
	private String id;
	private String name;
	private double price;
	private int count;
	private Date pd;
	private String wid;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	public Date getPd() {
		return pd;
	}
	public void setPd(Date pd) {
		this.pd = pd;
	}
	public String getWid() {
		return wid;
	}
	public void setWid(String wid) {
		this.wid = wid;
	}
	public Product(String id, String name, double price, int count, Date pd,
			String wid) {
		super();
		this.id = id;
		this.name = name;
		this.price = price;
		this.count = count;
		this.pd = pd;
		this.wid = wid;
	}
	public Product() {
		super();
	}
	@Override
	public String toString() {
		return "Product [id=" + id + ", name=" + name + ", price=" + price
				+ ", count=" + count + ", pd=" + pd + ", wid=" + wid + "]";
	}
	
}
